home *** CD-ROM | disk | FTP | other *** search
Wrap
#!/usr/bin/perl $mailprog = '/usr/lib/sendmail'; $recipient = 'DTjanitor\@sgi.com'; # next line will tell the browser this doc is html: print "Content-type: text/html\n\n"; # PATH_INFO is the "relative path" from Doc root (with a leading `/' char) $relpath = $ENV{'PATH_INFO'}; # QUERY_STRING stores the name of the subdir who's "parent dir" is # is the one that PATH_INFO and PATH_TRANSLATED point to. $fileWasIn = $ENV{'QUERY_STRING'} ; # lay in the html header/beginning text stuff: printf "<html><head><title>Developer Toolbox Main-Terminal pheedbak phorm</title></head><body>"; print "<h1> SGI WWW Developer Toolbox Pheedbak </h1>\n"; print "<h3><a href=\"/toolbox/DT.html\">TOP</a> | <a href=\"/toolbox/DTtree.html\">Tree</a> | <a href=\"/toolbox/DTtopic.html\">Topic</a> | <a href=\"/toolbox/DTalfabetic.html\">A-Z</a> | <a href=\"/toolbox/www/cgi-bin/DTsearch-cgi\">Search</a> | <a href=\"/toolbox/DThot.html\">Hot</a> | <a href=\"/toolbox/DTnew.html\">New</a><img src=\"/toolbox/www/images/space120.gif\"><img align=\"middle\" src=\"/toolbox/www/images/sgilogosm.gif\"></h3>"; print "<b>PLEEZE</b> send yer \"take\" on things back to the toolbox webjerk."; print "The <b>essence of toolbox-as-resource</b> originates in \"hearing\" \n"; print "from one-and-all, about where things are <i>lacking</i>, where \n"; print "there needs to be <b>more </b> <i>emphasis</i>, where we've \n"; print "<i>completely missed the boat</i>, where <i>improvement is \n"; print "needed</i>--<b>ALL</b> responses are greatly appreciated and are \n"; print "essential to the ever-increasing usefulness of the \n"; print "toolbox-as-resource. the janitor thrives on knowing what people \n"; print "want on and think about the toolbox.\n"; print "<p>"; print "<h5>NOTE: this form azzumes you are using version 2.0 or later of NCSA"; print "Mosaic. This form may not work with other browsers. (this tape\n"; print "will self-destruct in 5 seconds. Good Luck, Jim.)</h5>\n"; print "<p>"; print "Messages can be posted in one o' two waze:"; print "<ol><b>\n"; print "<FORM method=\"POST\" action=\"/toolbox/www/cgi-bin/mailin-cgi?DTjanitor\@sgi.com\">\n"; print "<li></b>type into the <i>text-o-matic</i> form below:<br>\n"; print "<b>(BOGUS!--need to master <a href=\"http://www.lerc.nasa.gov/httpd_doc/tutorials/includes.html\">Server Side Includes</a> so \"e-mail addr\" <i>ISN'T</i> needed)<br>\npuh-leeze enter yer e-mail address:</b><br>\n"; print "<img src=\"/toolbox/www/images/space24.gif\"><input name=\"email\" SIZE=\"40\"><br>\n"; print "<b>puh-<i>leeze</i> enter yer name:</b><br>\n"; print "<img src=\"/toolbox/www/images/space24.gif\"><input name=\"name\" SIZE=\"40\"><br>\n"; print "<b>comments/pheedbak:</b><br>\n"; print "<textarea name=\"comments\" cols=\"60\" rows=\"8\">\n"; print "</textarea>"; print "<input type=\"submit\" value=\"transmit message\">\n"; print "<input type=\"reset\" value=\"erase message\">\n"; print "<INPUT TYPE=\"hidden\" NAME=\"relpath\" VALUE=$relpath>\n"; print "<INPUT TYPE=\"hidden\" NAME=\"fileWasIn\" VALUE=$fileWasIn>\n"; print "</form>"; print "<hr><p><b>\n"; print "<li></b>all INTERNET MAIL sent to <a href=\"mailto:DTjanitor\@sgi.com\"><b>DTjanitor\@sgi.com</b></a>\n(this link <i>doesn't work</i> in xmosaic) will "; print " be delivered directly to the toolbox webclown. <b>WARNING! -- </b> \n"; print "this mail window will NOT automatically include/contain your e-mail \n"; print "or \"real\" name--you must identify yerself in some way if you want \n"; print "the janitor to be able to respond to you.\n"; print "</ol>"; print "</body>"; print "</html>";